package com.gem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gem.entity.UserAddress;

import java.util.List;

/**
 * @author 刘聪
 * Created  on 2021/3/19
 */
public interface UserAddressService extends IService<UserAddress> {
    /**
     *根据用户id返回指定用户的地址集合
     * @param userId 用户id
     * @return
     */
    /*List<UserAddress> addressList(Integer id);*/
    List<UserAddress> dafultAddress(Integer userId, Integer addressId);
}
